import java.util.*;

import java.text.SimpleDateFormat;

def today()
{
    String str = "";
    SimpleDateFormat sdf = new SimpleDateFormat("YYYYMMddHHmmss");
    Calendar lastDate = Calendar.getInstance();
    str = sdf.format(lastDate.getTime());
    return str;
}

def tody2(){
    return new Date().format("YYYYMMddHHmmss");
}

def xxx(){
    return System.currentTimeMillis() / 1000 as int;
}

//println today()

//println tody2()

println xxx()
